import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false


// 组件的导入
import Vant from 'vant';
import 'vant/lib/index.css';
import TabBar from "@/components/TabBar";  //1.全局组件导入
import rpwdzj from "@/components/rpwdzj";
import cartzj from "@/components/cartzj";

Vue.use(Vant);
Vue.prototype.$src= 'http://192.168.40.177:8008/api'
Vue.component('TabBar',TabBar) //2.全局组件的注册
Vue.component('rpwdzj',rpwdzj)
Vue.component('cartzj',cartzj)
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies;

import Http from "@/utils/Http";

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
